package com.tpc.dao.core;

/**
 * @version 0.0.1
 * @author frederic.fortin
 * @modified 2010-09-10
 */
import com.google.gwt.user.client.rpc.IsSerializable;
import java.util.Date;

public class Document implements IsSerializable {

    private int id;
    private String fileName;
    private String size;
    private String title;
    private String path;
    private String description;
    private String type;
    private String dateUploaded;
    private int life;
    private Date created_date;
    private Date modified_date;
    private int created_by;
    private int modified_by;

    public Document() {

    }

    public void setTitle(String param) {
        title = param;
    }
    public String getTitle() {
        return title;
    }
    
    public void setFileName(String param) {
        fileName = param;
    }
    public String getFileName() {
        return fileName;
    }
    
    public void setPath(String param) {
        path = param;
    }
    public String getPath() {
        return path;
    }
    
    public void setDateUpload(String param) {
        dateUploaded = param;
    }
    public String getDateUpload() {
        return dateUploaded;
    }
    
    public void setType(String param) {
        type = param;
    }
    public String getType() {
        return type;
    }
        
    public void setSize(String param) {
        size = param;
    }
    public String getSize() {
        return size;
    }
    
    public String getDescription() {
        return description;
    }
    public void setDescription(String param) {
        description = param;
    }

    /** ALL TPC_OBJECT HAVE THOSE METHODS / FIELDS **/
    public int getId() {
        return id;
    }
    public void setId(int param) {
        id = param;
    }

    public int getLife() {
        return life;
    }
    public void setLife(int param) {
        life = param;
    }

    public Date getCreatedDate() {
        return created_date;
    }
    public void setCreatedDate(Date param) {
        created_date = param;
    }

    public int getCreatedBy() {
        return created_by;
    }
    public void setCreatedBy(int param) {
        created_by = param;
    }

    public Date getModifiedDate() {
        return modified_date;
    }
    public void setModifiedDate(Date param) {
        modified_date = param;
    }

    public int getModifiedBy() {
        return modified_by;
    }
    public void setModifiedBy(int param) {
        modified_by = param;
    }
}
